[INFO] cloning repository https://github.com/r1005410078/-canvas-3d
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r1005410078/-canvas-3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1005410078%2F-canvas-3d", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1005410078%2F-canvas-3d'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3f4c1b9cf2c7092c4550b10e90022f4af9c5a2c9
[INFO] checking r1005410078/-canvas-3d against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1005410078%2F-canvas-3d" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/r1005410078/-canvas-3d
[INFO] finished tweaking git repo https://github.com/r1005410078/-canvas-3d
[INFO] tweaked toml for git repo https://github.com/r1005410078/-canvas-3d written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/r1005410078/-canvas-3d on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/r1005410078/-canvas-3d already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:31:1
[INFO] [stderr]    |
[INFO] [stderr] 31 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `rust-webpack-template` (manifest) generated 2 warnings
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.3.42
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.3.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a
[INFO] running `Command { std: "docker" "start" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:31:1
[INFO] [stderr]    |
[INFO] [stderr] 31 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `rust-webpack-template` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling syn v2.0.67
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.42
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]     Checking js-sys v0.3.69
[INFO] [stderr]     Checking console_error_panic_hook v0.1.7
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking web-sys v0.3.69
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.42
[INFO] [stderr]     Checking wasm-bindgen-test v0.3.42
[INFO] [stderr]     Checking console_log v1.0.0
[INFO] [stderr]     Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `clear` is never used
[INFO] [stdout]    --> src/canvas.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn clear() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/canvas.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |           let context = CANVAS
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 59 | |             .clone()
[INFO] [stdout]    | |____________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 28 - pub static mut CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout] 28 + pub static CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/canvas.rs:139:58
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     .draw_image_with_html_canvas_element(CANVAS.as_ref().unwrap(), 0.0, 0.0)
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout]  28 - pub static mut CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout]  28 + pub static CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear` is never used
[INFO] [stdout]    --> src/canvas.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn clear() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/canvas.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |           let context = CANVAS
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 59 | |             .clone()
[INFO] [stdout]    | |____________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 28 - pub static mut CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout] 28 + pub static CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/canvas.rs:139:58
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     .draw_image_with_html_canvas_element(CANVAS.as_ref().unwrap(), 0.0, 0.0)
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout]  28 - pub static mut CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout]  28 + pub static CANVAS: Lazy<Option<web_sys::HtmlCanvasElement>> = Lazy::new(|| None);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future`
[INFO] [stdout]   --> tests/app.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn async_test() -> impl Future<Item = (), Error = JsValue> {
[INFO] [stdout]    |                                ^^^^ help: `futures::Future` has the following associated type: `Output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future`
[INFO] [stdout]   --> tests/app.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn async_test() -> impl Future<Item = (), Error = JsValue> {
[INFO] [stdout]    |                                           ^^^^^ help: `futures::Future` has the following associated type: `Output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/app.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 |             assert_eq!(x, 42);
[INFO] [stdout]    |                           ^^ expected `Result<JsValue, JsValue>`, found integer
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<JsValue, JsValue>`
[INFO] [stdout]               found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `<impl futures::Future as futures::Future>::Output: wasm_bindgen_test::__rt::Termination` is not satisfied
[INFO] [stdout]    --> tests/app.rs:24:1
[INFO] [stdout]     |
[INFO] [stdout]  24 | #[wasm_bindgen_test(async)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `<impl futures::Future as futures::Future>::Output`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `wasm_bindgen_test::__rt::Termination` is implemented for `()`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-test-0.3.42/src/rt/mod.rs:440:1
[INFO] [stdout]     |
[INFO] [stdout] 440 | impl Termination for () {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-test-0.3.42/src/rt/mod.rs:476:20
[INFO] [stdout]     |
[INFO] [stdout] 468 |     pub fn execute_async<F>(
[INFO] [stdout]     |            ------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 476 |         F::Output: Termination,
[INFO] [stdout]     |                    ^^^^^^^^^^^ required by this bound in `Context::execute_async`
[INFO] [stdout]     = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0220`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-webpack-template` (test "app") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a", kill_on_drop: false }`
[INFO] [stdout] e41365d61bbcf48f3fa864a72987c2d2d920ae2ca6dc161339393aa27bb6ec9a
